<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title></title>
<#include "head.ftl" />
</head>
<body>
	<div class="body-box">
		<div class="rhead">
			<div class="rpos">当前位置: 配置参数 - 修改</div>
			<form class="ropt">
				<input type="button" value="返回"
					onclick="location.href='${st.domain}/setting/list'" />
			</form>
			<div class="clear"></div>
		</div>
		<form method="post" action="${st.domain}/setting/editDo" id="jvForm">
			<table width="100%" class="pn-ftable" cellpadding="2" cellspacing="1"
				border="0">
				<tr>
					<td width="10%" class="pn-flabel pn-flabel-h">类型:</td>
					<td colspan="1" class="pn-fcontent">
					${types[setting.type].text}
					</td>
				</tr>
				<tr>
					<td width="10%" class="pn-flabel pn-flabel-h">名称:</td>
					<td colspan="1" class="pn-fcontent">
					${setting.name}
					</td>
				</tr>
				<tr>
					<td width="10%" class="pn-flabel pn-flabel-h"><span
						class="pn-frequired">*</span>&nbsp;值&nbsp;:</td>
					<td colspan="1" class="pn-fcontent">
						<textarea name="value" class="required">${setting.value}</textarea>
					</td>
				</tr>
				<tr>
					<td width="10%" class="pn-flabel pn-flabel-h"><span
						class="pn-frequired">*</span>状态:</td>
					<td colspan="1" class="pn-fcontent">
					<select name="status">
						<#list statuses as s>
							<option value="${s.value}" <#if setting.status == s.value>selected</#if>>${s.text}</option>
						</#list>
					</select>
					</td>
				</tr>
				<tr>
					<td width="10%" class="pn-flabel pn-flabel-h"><span
						class="pn-frequired">*</span>备注:</td>
					<td colspan="1" class="pn-fcontent">
						<textarea name="remark" class="required">${setting.remark}</textarea>
					</td>
				</tr>
				<tr>
					<td colspan="4" class="pn-fbutton">
						<input type="hidden" name="settingId" value="${setting.settingId}" />
						<input type="hidden" name="id" value="1" /> <input type="submit" value="提交" /> &nbsp; 
						<input type="reset" value="重置" />
					</td>
				</tr>
			</table>
		</form>
	</div>
	
</body>
</html>